import React, {Component} from 'react';
import isEqual from 'lodash/isEqual';

class Header extends Component {
    constructor(props) {
        super(props);
    }

    shouldComponentUpdate(nextProps, nextState, nextContext) {
        return !(isEqual(nextProps, this.props) && nextState === this.state);

    }

    render() {
        console.log("Header render")

        return (
            <div>
                header
            </div>
        );
    }
}

export default Header;